package com.gitee.lw114514.webapp_memorandium.service.CompleteService.Impl;

import com.gitee.lw114514.webapp_memorandium.dao.TaskDao;
import com.gitee.lw114514.webapp_memorandium.service.CompleteService.CompleteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CompleteImpl implements CompleteService {
    @Autowired
    private TaskDao taskDao;

    @Override
    public Boolean completeTask(Integer taskId) {
        return taskDao.completeTaskById(taskId);
    }
}
